/****************************************************************************
 * Alacarte Wii
 * Keitaro Skywalker 2010
 *
 * alacarte.h
 ***************************************************************************/

#include "FreeTypeGX.h"


#define APPVERSION "0.1"

enum {
	METHOD_AUTO,
	METHOD_SD,
	METHOD_USB,
	METHOD_DVD,
	METHOD_SMB,
	METHOD_MC_SLOTA,
	METHOD_MC_SLOTB,
	METHOD_SD_SLOTA,
	METHOD_SD_SLOTB
};

struct SSettings {
    int		AutoLoad;
    int		AutoSave;
    int		LoadMethod;
	int		SaveMethod;
	char	Folder1[256]; // Path to files
	char	Folder2[256]; // Path to files
	char	Folder3[256]; // Path to files
};

enum {
	/** The application is going to shutdown Wii */
	EXIT_SHUTDOWN,
	/** The application is going to reboot Wii */
	EXIT_REBOOT,
	/** The application is going to return to Homebrew Channel */
	EXIT_HBC,
};

/**
 * Represents the application contexts.
 * Holds the configurations used in runtime.
 * 
 */
struct SApplicationContext {
	bool exitRequested;
	int exitType;
	SSettings settings;
	int initialMenu;
};
extern struct SApplicationContext appContext;


void ExitApp();
extern FreeTypeGX *fontSystem[];

